package com.cgws.fintech.inner.business.customer.swagger.handler;

import com.example.victory.swagger.model.ApiRequestListedSharestock;
import com.example.victory.swagger.model.ApiRequestNewSharestock;
import com.example.victory.swagger.model.ApiResponseLastTradeDate;
import com.example.victory.swagger.model.ApiResponseListedSharestock;
import com.example.victory.swagger.model.ApiResponseNewSharestock;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

@Controller
public class MiniAppNewSharestockApiController implements MiniAppNewSharestockApi {

    private final MiniAppNewSharestockApiDelegate delegate;

    @org.springframework.beans.factory.annotation.Autowired
    public MiniAppNewSharestockApiController(MiniAppNewSharestockApiDelegate delegate) {
        this.delegate = delegate;
    }
    public ResponseEntity<ApiResponseLastTradeDate> getLastTradeDate() {
        return delegate.getLastTradeDate();
    }

    public ResponseEntity<ApiResponseListedSharestock> getListedSharestock(@ApiParam(value = "中签上市提醒请求信息" ,required=true )  @Valid @RequestBody ApiRequestListedSharestock param) {
        return delegate.getListedSharestock(param);
    }

    public ResponseEntity<ApiResponseNewSharestock> getNewSharestock(@ApiParam(value = "新股中签提醒请求信息" ,required=true )  @Valid @RequestBody ApiRequestNewSharestock param) {
        return delegate.getNewSharestock(param);
    }
    public ResponseEntity<ApiResponseNewSharestock> getNewReleationsType(@ApiParam(value = "新增查询营销人员名下客户关系类型" ,required=true )  @Valid @RequestBody ApiRequestNewSharestock param) {
        return delegate.getNewReleationsType(param);
    }

    public ResponseEntity<ApiResponseNewSharestock> getSalesReleations(@ApiParam(value = "新增查询营销人员名下客户关系类型" ,required=true )  @Valid @RequestBody ApiRequestNewSharestock param) {
        return delegate.getSalesReleations(param);
    }
}
